package com.limingfeiyu.platform.management.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.limingfeiyu.common.web.PageTable;
import com.limingfeiyu.platform.management.entity.HospitalInformation;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * <p>
 * 医院信息 服务类
 * </p>
 *
 * @author 黎铭飞羽
 * @since 2024-04-08
 */
public interface IHospitalInformationService extends IService<HospitalInformation> {

    /**
     * 分页查询
     *
     * @param pageTable
     * @return
     * @throws Exception
     */
    Page<HospitalInformation> pageList(PageTable<HospitalInformation> pageTable) throws Exception;

    /**
     * 找到一个医院名称
     *
     * @param hospitalName
     * @return
     */
    HospitalInformation findOneHospitalName(String hospitalName);
}
